/**
  opendap-data-source.h - Created by Timothy Morey on 7/18/2012
*/

#ifndef __OPENDAP_DATA_SOURCE_H
#define __OPENDAP_DATA_SOURCE_H

#include "data-schema.h"
#include "data-source.h"
#include "libnvn.h"

EXPORT int OPeNDAPDataSourceDisconnect(int dsid);

EXPORT int OPeNDAPDataSourceGetDatasetSchema(DataSourceDescriptor desc,
                                             DataSetSchema* schema);

EXPORT int OPeNDAPDataSourceGetGridSchema(DataSourceDescriptor desc,
                                          DataGridSchema* schema);

EXPORT int OPeNDAPDataSourceStartStream(DataSourceDescriptor desc,
                                        DataFrameCallback callback,
                                        int* dsid);

#endif